<form action="" class="form-horizontal" role="form">
  <div class="form-group">
      <label class="col-sm-2 control-label">管理员姓名</label>
      <div class="col-sm-2">
        <input type="text" class="form-control" name="name" placeholder="" datatype="*2-20" value="{$agentAdmin.name}">
      </div>
  </div>
  <div class="form-group">
      <label class="col-sm-2 control-label">管理员邮箱</label>
      <div class="col-sm-3">
        <input type="email" class="form-control" name="email" placeholder="作为客户登陆后台账户"  datatype="e" value="{$agentAdmin.email}" <eq name="customerAdmin.is_super" value="1">readonly="readonly"</eq> >
      </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">登录密码</label>
    <div class="col-sm-3">
      <input type="password" class="form-control" name="password" placeholder="密码大于6位小于16位，不填写既为不修改">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">重复登录密码</label>
    <div class="col-sm-3">
      <input type="password" class="form-control" placeholder="重复刚才输入的密码">
    </div>
  </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <input type="hidden" name="id" value="{$agentAdmin.id}"/>
      <button type="submit" class="btn btn-primary submit" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/save">保存更改</button>
    </div>
  </div>
</form>